package array;

public class Test4 {

	public static void main(String[] args) {
		
		int lol[]={800,1000,888,300,1500};
		int max=lol[0];  //最高分
		int min=lol[0];
		
		for(int i=0;i<lol.length;i++){
			if(lol[i]>max){
				max=lol[i];
			}
			if(lol[i]<min){
				min=lol[i];
			}
		}
		
		System.out.println("最高分"+max);
		System.out.println("最低分"+min);
		

	}

}
